package com.ruoyi.house_sale.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 方案流程对象 schemeflow
 * 
 * @author ruoyi
 * @date 2022-03-28
 */
public class Schemeflow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long flowid;

    /** 关联（付款方案编号） */
    @Excel(name = "付款方案编号")
    private Long psid;

    /** 关联（付款方案） */
    @Excel(name = "付款方案")
    private String psname;

    /** 流程名称 */
    @Excel(name = "流程名称")
    private String flowname;

    /** 完成该环节天数 */
    @Excel(name = "完成该环节天数")
    private Long finishdays;

    /** 环节序号 */
    @Excel(name = "环节序号")
    private Long orderid;

    /** 关键节点（签约,按揭到款,房款已清,入住,已办房产证等） */
    @Excel(name = "关键节点")
    private String flownode;

    /** 定制人（登录session值） */
    @Excel(name = "定制人")
    private String userid;

    /** 生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date oprtime;

    public void setFlowid(Long flowid) 
    {
        this.flowid = flowid;
    }

    public Long getFlowid() 
    {
        return flowid;
    }
    public void setPsid(Long psid) 
    {
        this.psid = psid;
    }

    public Long getPsid() 
    {
        return psid;
    }
    public void setPsname(String psname)
    {
        this.psname = psname;
    }

    public String getPsname()
    {
        return psname;
    }
    public void setFlowname(String flowname) 
    {
        this.flowname = flowname;
    }

    public String getFlowname() 
    {
        return flowname;
    }
    public void setFinishdays(Long finishdays) 
    {
        this.finishdays = finishdays;
    }

    public Long getFinishdays() 
    {
        return finishdays;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setFlownode(String flownode) 
    {
        this.flownode = flownode;
    }

    public String getFlownode() 
    {
        return flownode;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setOprtime(Date oprtime) 
    {
        this.oprtime = oprtime;
    }

    public Date getOprtime() 
    {
        return oprtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("flowid", getFlowid())
            .append("psid", getPsid())
            .append("psname", getPsname())
            .append("flowname", getFlowname())
            .append("finishdays", getFinishdays())
            .append("orderid", getOrderid())
            .append("flownode", getFlownode())
            .append("userid", getUserid())
            .append("oprtime", getOprtime())
            .toString();
    }
}
